/*
 * faultInjector.h
 *
 *  Created on: Nov 26, 2012
 *      Author: aguerreiro
 */

#ifndef FAULTINJECTOR_H_
#define FAULTINJECTOR_H_
#include "p802_15_4pkt.h"

bool activeFault;

Packet* corruptFrame(Packet *p);

void randomCorruption(int seed);

void enableFaultInjector();

void disableFaultInejctor();


#endif /* FAULTINJECTOR_H_ */
